package com.cqupt.model.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 单词表
 * @TableName word
 */
@TableName(value ="word")
@Data
public class Word implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;

    /**
     * 单词
     */
    @ExcelProperty(value = "word")
    private String word;

    /**
     * 中文意思
     */
    @ExcelProperty(value = "translation")
    private String translation;

    /**
     * 音标
     */
    @ExcelProperty(value = "phonetic")
    private String phonetic;

    /**
     * 词性
     */
//    private String partOfSpeech;

    /**
     * 示例句
     */
//    private String example;

    /**
     * 单词状态 1：可用；0：不可用
     */
//    private Integer status;

    @TableField(exist = false)
    @ExcelIgnore
    private static final long serialVersionUID = 1L;
}